package com.hbjycl.entity;
import javax.persistence.*;

import java.util.Date;
import java.util.Set;

@Entity
public class Bbs extends BaseEntity
{
    private static final long serialVersionUID = -8031755517681308441L;
   
    private String bbsname; //话题名称
    private int clicknum; //点击数
    private int commentnum; //回复数
    private Date lasttime;//最近回复时间
    private String publisher;//发布者
    
    @Column(unique=true,nullable = false)
	public String getBbsname() {
		return bbsname;
	}
	public void setBbsname(String bbsname) {
		this.bbsname = bbsname;
	}
	public int getClicknum() {
		return clicknum;
	}
	public void setClicknum(int clicknum) {
		this.clicknum = clicknum;
	}
	public int getCommentnum() {
		return commentnum;
	}
	public void setCommentnum(int commentnum) {
		this.commentnum = commentnum;
	}
	public Date getLasttime() {
		return lasttime;
	}
	public void setLasttime(Date lasttime) {
		this.lasttime = lasttime;
	}
	
	
 public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
}
